package com.quanxiaoha.weblog.common.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@Data
@ConfigurationProperties(prefix = "upload.imgs")
public class UploadConfig {
    private String path;
    private String url;
    private Long maxSize;
}
